package com.hailian.fintech.hlbackingserver.service.impl;

import com.hailian.fintech.hlbackingserver.entity.Partment;
import com.hailian.fintech.hlbackingserver.mapper.PartmentMapper;
import com.hailian.fintech.hlbackingserver.service.IPartmentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wk
 * @since 2020-05-30
 */
@Service
public class PartmentServiceImpl extends ServiceImpl<PartmentMapper, Partment> implements IPartmentService {

    @Autowired
    private PartmentMapper partmentMapper;
    @Override
    public Partment getByIdOwner(Integer id) {
        return partmentMapper.getByIdOwner(id);
    }
}
